@import '@/assets/scss/index.scss';
#upgrade-pop {
  @include flex-center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  transition: all 0.1s linear;
  z-index: 1001;
  touch-action: none;

  &.entering,
  &.entered {
    animation: popupShowMask 0.5s linear forwards;

    > .main {
      animation: popupShowMain 0.5s cubic-bezier(1, -0.5, 0, 1.2) forwards;
    }
  }

  &.exiting,
  &.exited {
    animation: popupHiddenMask 0.5s linear forwards;

    > .main {
      animation: popupHiddenMain 0.5s cubic-bezier(1, -0.5, 0, 1.2) forwards;
    }
  }

  .wrapper-main {
    width: 350px;
    padding-top: 16px;
    border-radius: 42px;
    background-image: linear-gradient(to bottom, #6c36db, #d3301d 8%);
  }
  .main {
    display: flex;
    flex-direction: column;
    width: 351px;
    height: 348px;
    // height: 320px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    @include bg2('wangge-2@2x');

    .holder {
      margin-top: 1px;
      height: 156px;
      width: 100%;
      @include bg2('upgrade-2@2x');
    }

    .tip {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 12px 16px 20px;
      text-align: center;
      font-size: 14px;
      color: #000;

      &--title {
        font-size: 20px;
        line-height: 24px;
      }

      &--desc {
        margin: 12px 20px 20px;
        font-size: 16px;
        line-height: normal;
        text-align: center;
        color: #fff2bd;
        font-family: 'SFProRounded-Bold';
      }

      &--btn {
        @include bg2('btn-upgrade@2x');
        width: 240px;
        height: 53px;
        line-height: 53px;
        font-family: 'SFProRounded-Heavy';
        font-size: 24px;
        font-weight: 900;
        color: #cc5316;
        margin-bottom: 15px;
      }
      &--tips {
        font-family: "SFProRounded-Medium";
        font-size: 12px;
        font-weight: 500;
        color: rgba(255, 255, 255, 0.55);
      }
    }
  }
}
